package com.ajx.ablibrary.net;

import io.reactivex.Observable;
import okhttp3.RequestBody;
import okhttp3.ResponseBody;
import retrofit2.http.Body;
import retrofit2.http.POST;
import retrofit2.http.Url;

/**
 * Created by lai on 2017/9/12.
 */

public interface IApiService {
    /**
     * post json字符串
     *
     * @param json
     * @return
     */
    @POST("")
    Observable<ResponseBody> postJsonNoToken(@Url() String url, @Body RequestBody json);
}
